package com.goods.service;

import com.goods.entity.GoodsCategory;

import java.util.List;

/**
 * 商品类别业务逻辑接口
 * @author huangyanzhong
 * @date 2020-04-01
 */
public interface GoodsCategoryService {

    /**
     * 获取商品类别详情
     * @param id
     * @return
     * @throws Exception
     */
    GoodsCategory get(String id) throws Exception;

    /**
     * 获取所有商品列表
     * @return
     * @throws Exception
     */
    List<GoodsCategory> getAll() throws Exception;

}
